﻿using UnityEngine;
using System.Collections;

public class Ball : MonoBehaviour {

	// Use this for initialization
	void Start ()
	{
	    rigidbody.velocity = new Vector3(-7.0f, 6.0f, 0.0f);
	}
	
	// Update is called once per frame
	void Update () {
	
	}

    void OnBecameInvisible()
    {
        Destroy(gameObject);
    }
}
